package com.tang.model.mouse;

import com.tang.model.mouse.mouse.Mouse;
import com.tang.model.mouse.mouse.MouseListener;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/7 21:19
 * @Desc
 * @Remarks
 */
public class Test {

    public static void main(String[] args) throws NoSuchMethodException {
        Mouse mouse = new Mouse();
        MouseListener mouseListener = new MouseListener();
        mouse.addListener("move", mouseListener);
        mouse.addListener("click", mouseListener);

        mouse.click();
        System.out.println("===============");
        mouse.move();
    }
}
